package com.wago.dao;

import com.wago.entity.Student;
import com.wago.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by "鐤媯鐨勭爜宸�" on 2017-09-11.
 */
@Service
public class StudentDao {
    @Autowired
    private StudentMapper su;
    public Student student(int id){

        return su.aa(id);
    }
    public int insert(Student stu){
        return su.bb(stu);
    }
}
